<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="jquery-3.1.0.min.js"></script>
</head>
<body>
   <div></div>

<script>
   /* $.myjq=function(){
        alert("hello word")
    }*/
    $.fn.myjq=function(){
        $(this).text("hello");
    }
</script>

<script>
    $(document).ready(function(){
       /* $.myjq();*/
       $("div").myjq();
    });

</script>
</body>
</html>